import request from '@/utils/request'

// 查询atacInfo列表
export function listAtacInfo(query) {
  return request({
    url: '/buss/atacInfo/list',
    method: 'get',
    params: query
  })
}

// 查询atacInfo详细
export function getAtacInfo(id) {
  return request({
    url: '/buss/atacInfo/' + id,
    method: 'get'
  })
}

// 新增atacInfo
export function addAtacInfo(data) {
  return request({
    url: '/buss/atacInfo',
    method: 'post',
    data: data
  })
}

// 修改atacInfo
export function updateAtacInfo(data) {
  return request({
    url: '/buss/atacInfo',
    method: 'put',
    data: data
  })
}

// 删除atacInfo
export function delAtacInfo(id) {
  return request({
    url: '/buss/atacInfo/' + id,
    method: 'delete'
  })
}
